/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gui.componentes;

import javax.swing.JFileChooser;
import javax.swing.filechooser.FileNameExtensionFilter;

/**
 *
 * @author Administrador
 */
public class JFileChooserCroqui extends JFileChooser {

    public JFileChooserCroqui() {
        this.setDialogTitle("Selecione uma Imagem");
        this.setFileSelectionMode(JFileChooser.FILES_ONLY);

        FileNameExtensionFilter filter = new FileNameExtensionFilter("Imagens", new String[]{"jpg", "png", "gif", "tif", "tiff", "bmp"});
        this.setFileFilter(filter);
        this.setAcceptAllFileFilterUsed(false);
        this.setMultiSelectionEnabled(false);
    }

}
